package net.tensor.tensorprovider.database.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 记录节点被分给谁
 * </p>
 *
 * @author author
 * @since 2020-10-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("APP_RU_INST_ASS")
@ApiModel(value="AppRuInstAss对象", description="记录节点被分给谁")
public class AppRuInstAss implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "组ID")
    @TableField("GROUP_ID_")
    private String groupId;

    @ApiModelProperty(value = "业务实例ID")
    @TableField("BUSINESS_KEY_")
    private String businessKey;

    @ApiModelProperty(value = "分件ID")
    @TableField("ASS_ID_")
    private String assId;

    @ApiModelProperty(value = "首次分件时间")
    @TableField("CREATED_")
    private LocalDateTime created;

    @TableId(value = "ID_", type = IdType.AUTO)
    private String id;


}
